package dao

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Name      string  `json:"name" gorm:"type:varchar(30);not null;comment:'医生名称'"`
	Image     string  `json:"image" gorm:"type:varchar(255);not null;comment:'医生图片'"`
	Where     int     `json:"where" gorm:"type:tinyint(1);nut null;comment:'1-a院区2-b院区3-c院区'"`
	ObjRoom   int     `json:"objRoom" gorm:"type:tinyint(1);not null;comment:'1-牙科2-眼科3-皮肤科'"`
	Job       int     `json:"job" gorm:"type:tinyint(1);not null;comment:'1-专家2-普通'"`
	Title     int     `json:"title" gorm:"type:tinyint(1);comment:'1-专业过硬2-妙手回春'"`
	NumPrice  float64 `json:"numPrice" gorm:"type:decimal(10,2);not null;comment:'挂号费'"`
	LookPrice float64 `json:"lookPrice" gorm:"type:decimal(10,2);not null;comment:'检查费'"`
	Cont      string  `json:"cont" gorm:"type:varchar(255);not null;comment:'医生简介'"`
}
